/*
 * Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
 *
 * https://www.mall4j.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */
package com.yami.shop.groupbuy.common.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 拼团商品规格详细信息
 *
 * @author Yami
 */
@Data
@ApiModel("拼团商品规格详细信息")
public class ApiGroupSkuInfoDto {

    @ApiModelProperty("拼团活动商品规格id")
    private Long groupSkuId;

    @ApiModelProperty("拼团活动商品id")
    private Long groupProdId;

    @ApiModelProperty("商品规格id")
    private Long skuId;

    @ApiModelProperty("商品规格id")
    private Long categoryId;

    @ApiModelProperty("规格原价")
    private Double price;

    @ApiModelProperty("活动价格")
    private Double actPrice;

    @ApiModelProperty("规格名称")
    private String skuName;

    @ApiModelProperty("sku库存")
    private Integer stocks;

    @ApiModelProperty("商品名称")
    private String prodName;

    @ApiModelProperty("商品图片")
    private String prodPic;

    @ApiModelProperty("规格图片")
    private String skuPic;

    @ApiModelProperty("店铺id")
    private Long shopId;

    @ApiModelProperty("店铺名称")
    private String shopName;

    @ApiModelProperty("商品状态（-1:删除、0:商家下架、1:上架、2:违规下架、3:平台审核）")
    private int prodStatus;

    /**
     * 虚拟商品信息
     */
    @ApiModelProperty(value = "商品类别 0.实物商品 1. 虚拟商品")
    private Integer mold = 0;

    @ApiModelProperty(value = "虚拟商品的留言备注")
    private String virtualRemark;

    @ApiModelProperty(value = "核销次数 -1.多次核销 0.无需核销 1.单次核销")
    private Integer writeOffNum;

    @ApiModelProperty(value = "多次核销次数 -1.无限次")
    private Integer writeOffMultipleCount;

    @ApiModelProperty(value = "核销有效期 -1.长期有效 0.自定义  x.x天内有效")
    private Integer writeOffTime;

    @ApiModelProperty(value = "核销开始时间")
    private Date writeOffStart;

    @ApiModelProperty(value = "核销结束时间")
    private Date writeOffEnd;

    @ApiModelProperty(value = "是否可以退款 1.可以 0不可以", required = true)
    private Integer isRefund;
}
